<div class="identity-id-class">
    @if ($value == 1)
        <div>
            <span class="badge badge-primary">体验会员</span>
        </div>
    @elseif($value==2)
        <div>
            <span class="badge bg-success">创客</span>
        </div>
    @elseif($value==3)
        <div>
            <span class="badge bg-warning">瞳小店</span>
        </div>
    @elseif($value==4)
        <div>
            <span class="badge bg-danger">健康馆</span>
        </div>
    @elseif($value==5)
        <div>
            <span class="badge bg-dark">区县代理</span>
        </div>
    @elseif($value==6)
        <div>
            <span class="badge bg-dark">市代理</span>
        </div>
    @elseif($value==7)
        <div>
            <span class="badge bg-dark">合伙人</span>
        </div>
    @elseif($value==0)
        <div>
            <span class="badge bg-secondary">普通用户</span>
        </div>
    @endif


</div>

<style>
    .identity-id-class {
        display: flex;
        align-content: center;
        flex-direction: column;
    }
</style>

<script init=".my-class">
</script>
